#include <iostream>
#include "../_Base/CKBlockingQueue.h"

int main(int argc, char** argv)
{
	K_Engine::CKBlockingQueue<int> q;
	 
	q.Push(1);
	q.Push(2);
	int ret;
	ret = q.Pop();
	std::cout<<ret<<std::flush;
	ret = q.Pop();
	std::cout<<ret<<std::endl;
	q.Push(3);
	q.Push(4);
	q.Push(5);
	q.Clear();
	return 0;
}